﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCT.MRS.DataAccessLayer.Entities
{
    public class Role : IEntity
    {

        public Role()
        {
            IsActive = true;
            Users = new List<User>();
        }

        public int Id { get; set; }

        public string Name { get; set; }
        public string Description { get; set; }
        public bool IsActive { get; set; }
        public DateTime DateAdded { get; set; }
        public DateTime DateModified { get; set; }
        public virtual List<User> Users { get; set; }
        public virtual List<AccessType> AccessTypes { get; set; }

    }
}
